package com.mdd.admin.service;

import com.mdd.admin.validate.commons.PageValidate;
import com.mdd.admin.validate.ClientCrmCluepoolCreateValidate;
import com.mdd.admin.validate.ClientCrmCluepoolUpdateValidate;
import com.mdd.admin.validate.ClientCrmCluepoolSearchValidate;
import com.mdd.admin.vo.ClientCrmCluepoolListedVo;
import com.mdd.admin.vo.ClientCrmCluepoolDetailVo;
import com.mdd.common.core.PageResult;

/**
 * 线索池zsgc服务接口类
 * @author 洁洁
 */
public interface IClientCrmCluepoolService {

    /**
     * 线索池zsgc列表
     *
     * @author 洁洁
     * @param pageValidate 分页参数
     * @param searchValidate 搜索参数
     * @return PageResult<ClientCrmCluepoolListedVo>
     */
    PageResult<ClientCrmCluepoolListedVo> list(PageValidate pageValidate, ClientCrmCluepoolSearchValidate searchValidate);

    /**
     * 线索池zsgc详情
     *
     * @author 洁洁
     * @param id 主键ID
     * @return ClientCrmCluepoolDetailVo
     */
    ClientCrmCluepoolDetailVo detail(Integer id);

    /**
     * 线索池zsgc新增
     *
     * @author 洁洁
     * @param createValidate 参数
     */
    void add(ClientCrmCluepoolCreateValidate createValidate);

    /**
     * 线索池zsgc编辑
     *
     * @author 洁洁
     * @param updateValidate 参数
     */
    void edit(ClientCrmCluepoolUpdateValidate updateValidate);

    /**
     * 线索池zsgc删除
     *
     * @author 洁洁
     * @param id 主键ID
     */
    void del(Integer id);

}
